package com.ruoyi.pingjiao.mapper;


import com.ruoyi.pingjiao.domain.CourseclassTeacher;
import com.ruoyi.pingjiao.domain.Student;

import java.util.List;

/**
 * 教师上课Mapper接口
 * 
 * @author 牛亚博
 * @date 2023-07-08
 */
public interface CourseclassTeacherMapper 
{
    /**
     * 获取教师上课班级查询对应的学生信息
     *
     * @param courseclassId 上课班级主键
     * @return 学生信息
     */
    public List<Student> selectCourseclassStudentList(Long courseclassId);

    /**
     * 查询教师上课
     * 
     * @param teacherId 教师上课主键
     * @return 教师上课
     */
    public CourseclassTeacher selectCourseclassTeacherByTeacherId(Long teacherId);

    /**
     * 查询教师上课列表
     * 
     * @param courseclassTeacher 教师上课
     * @return 教师上课集合
     */
    public List<CourseclassTeacher> selectCourseclassTeacherList(CourseclassTeacher courseclassTeacher);

    /**
     * 新增教师上课
     * 
     * @param courseclassTeacher 教师上课
     * @return 结果
     */
    public int insertCourseclassTeacher(CourseclassTeacher courseclassTeacher);

    /**
     * 修改教师上课
     * 
     * @param courseclassTeacher 教师上课
     * @return 结果
     */
    public int updateCourseclassTeacher(CourseclassTeacher courseclassTeacher);

    /**
     * 删除教师上课
     * 
     * @param teacherId 教师上课主键
     * @return 结果
     */
    public int deleteCourseclassTeacherByTeacherId(Long teacherId);

    /**
     * 批量删除教师上课
     * 
     * @param teacherIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCourseclassTeacherByTeacherIds(Long[] teacherIds);
}
